// sass 跟 less  差不多用法

.index {

    /* 轮播图区域 */
    .swipers {
        height: 212px;
         position: relative;
         .search-box {
            position: absolute;
            top: 45px;
            width: 100%;
            padding: 0 10px;

            .search {
                flex: 1;

                height: 34px;
                margin: 0 10px;
                padding: 5px 5px 5px 8px;
                border-radius: 3px;
                background-color: #fff;

                .location {
                    .icon-arrow {
                        margin-left: 2px;
                        font-size: 12px;
                        color: #7f7f80;
                    }
                }

                .form {
                    border-left: solid 1px #e5e5e5;
                    margin-left: 12px;
                    line-height: 16px;

                    .icon-seach {
                        vertical-align: middle;
                        padding: 0 2px 0 12px;
                        color: #9c9fa1;
                        font-size: 15px;
                    }

                    span {
                        padding-left: 4px;
                        font-size: 13px;
                        color: #9c9fa1;
                    }
                }
            }

            .icon-map {
                font-size: 25px;
                color: #fff;
                margin-right: 15px;
            }

        }
    }

    /* 导航区 */
    .nav {
        padding: 10px 0;

        .am-flexbox-item {
            text-align: center;

            img {
                width: 48px;
            }

            h2 {
                margin-top: 7px;
                font-size: 13px;
                font-weight: normal;
            }

        }

    }

    // 租房小组
    .groups {

        background-color: #f6f5f6;
        overflow: hidden;
        padding: 0;

        .title {
            position: relative;
            margin: 15px 0px 15px 10px;
            font-size: 15px;
            font-weight: 600;
            padding: 0 10px;

            .more {
                color: #787d82;
                position: absolute;
                right: 0;
                font-size: 14px;
                font-weight: normal;
            }
        }

        // 覆盖默认背景色
        .am-grid .am-flexbox {
            background-color: inherit;

            .am-flexbox-item .am-grid-item-content {
                padding: 0;
                padding-bottom: 10px;
            }
        }

        .group-item {
            height: 75px;
            padding: 5px;
            margin-left: 5px;

            .desc {
                flex: 1;
                .title {
                    font-weight: bold;
                    font-size: 13px;
                    margin-bottom: 5px;
                    padding: 0;
                    margin-left: 0;
                }

                .info {
                    font-size: 12px;
                    color: #999;
                }
            }

            img {
                width: 55px;
            }
        }

        .am-flexbox-align-stretch {
            margin-bottom: 10px;

            .am-grid-item {
                background-color: #fff;

                &:first-child {
                    margin-right: 10px;
                }
            }
        }
    }

.news {
  padding: 10px;
  background-color: #fff;
  overflow: hidden;

  .group-title {
    margin: 10px 0 5px 10px;
    font-size: 15px;
  }

  .news-item {
    height: 90px;
    padding: 15px 10px 15px 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .news-item:last-child {
    border: 0;
  }

  .imgwrap {
    float: left;
    height: 90px;
    width: 120px;
  }

  .img {
    height: 90px;
    width: 120px;
  }

  .content {
    overflow: hidden;
    height: 90px;
    padding-left: 12px;
  }

  .title {
      margin: 0;
    margin-bottom: 15px;
    font-size: 14px;
  }

  .info {
    width: 100%;
    color: #9c9fa1;
    font-size: 12px;
  }

  .message-title {
    margin-bottom: 48px;
  }
}

}